//
//  NSObject+Calculate.m
//  Objective-C
//
//  Created by 陆承东 on 2018/11/9.
//  Copyright © 2018 S_Line. All rights reserved.
//

#import "NSObject+Calculate.h"

@implementation NSObject (Calculate)

+ (CGFloat)makeCalculators:(void (^)(CalculatorMaker *))block {
    CalculatorMaker *maker = [[CalculatorMaker alloc] init];
    block(maker);
    return maker.result;
}

@end
